package game.events
{
	import flash.events.Event;
	
	public class GamePlayerEvent extends Event
	{
		/**
		 * 玩家行动目标点改变
		 */		
		public static const PLAYER_TARGET_POINT_CHANGE:String = "PlayerTargetPointChange";
		
		/**
		 * 玩家坐标改变
		 */		
		public static const PLAYER_POINT_CHANGE:String = "PlayerPointChange";
		
		/**
		 * 玩家行动至目标点
		 */
		public static const PLAYER_GOTO_TARGET_POINT:String = "PlayerGoToTargetPoint";
		
		/**
		 * 事件传递的数据 
		 */		
		private var _data:Object;
		
		/**
		 * 事件传递的数据
		 */		
		public function get date():Object
		{
			return _data;
		}
		
		public function GamePlayerEvent(type:String, data:Object=null)
		{
			super(type, data);
			_data=data;
		}
	}
}